package cn.tedu.egmvc4.mapper;

import cn.tedu.egmvc4.pojo.dto.AddressUpdateParam;
import cn.tedu.egmvc4.pojo.entity.Address;
import cn.tedu.egmvc4.pojo.vo.AddressQuery;

import java.util.List;

public interface AddressMapper {
    //添加收货地址
    int add(Address address);
//添加查询功能
    List<AddressQuery> list(Address address);

    int update(Address address);
}
